-- GENERATED SPELL FOR [Steam Pump Overseer] --


function spell0_18340(pUnit, Event) --@Toughen,Self--
pUnit:FullCastSpellOnTarget(33962,pUnit)
pUnit:RegisterEvent('Sorts_18340', 536, 1)
end

function Sorts_18340(pUnit, Event)
local choix_sorts_18340 = math.random(0, 0)
if choix_sorts_18340 == 0 then
pUnit:RegisterEvent('spell0_18340', 1, 1)
end
end

function mob18340_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_18340', math.random(1500, 3000), 1)
end

function mob18340_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18340_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18340_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(18340, 1, 'mob18340_Action')
RegisterUnitEvent(18340, 2, 'mob18340_Leave')
RegisterUnitEvent(18340, 3, 'mob18340_Kill')
RegisterUnitEvent(18340, 4, 'mob18340_Die')
